
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    //代表已经经过了几个页面
    Integer countPage1=(Integer) session.getAttribute("countPage1");
    Integer countPage2=(Integer) application.getAttribute("countPage2");
    countPage1=(countPage1!=null)?countPage1+=1:1;
    countPage2=(countPage2!=null)?countPage2+=1:1;

    session.setAttribute("countPage1",countPage1);
    application.setAttribute("countPage2",countPage2);
%>
<%




%>



</body>
</html>
